package jeons.Basket.biz.impl;

import jeons.Basket.biz.PayBiz;
import jeons.Basket.dto.PayDTO;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.ibatis.SqlMapClientTemplate;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class PayBizImpl extends SqlMapClientDaoSupport implements PayBiz{
	@Autowired SqlMapClientTemplate sqlMapClientTemplate;
	
	
	@Override
	public PayDTO insertData(PayDTO payDTO) {
		return (PayDTO) sqlMapClientTemplate.insert("Pay.insertData",payDTO);
	}

}
